﻿<!DOCTYPE html>
<html>
    <head>
		<title>jQuery/forms</title>
        <meta charset="utf-8">
		<style>
			.syntax { color: red;}
			.colorRed {color: red;}
			.colorGreen {color: green;}
			.colorBlue {color: blue;}
            div {
                margin: 3px;
                width: 50px;
                height: 50px;
                /*position: absolute;*/
                left: 10px;
                top: 300px;
                background-color: yellow;
                /*display:none;*/
            }
            div.newcolor {
                background-color: red;
            }
  		</style>
        <script src="script/jquery-3.5.1.js"></script>
        <script>
		    console.log( "jQuery version: " + $.fn.jquery );
        </script>
    </head>
    <body>
        <h1>jQuery/forms部分展示</h1>		
		<table>
            <tr>
                <td class="syntax">jQuery.param()</td>
                <td> Create a serialized representation of an array, a plain object, or a jQuery object suitable for use in a URL query string or Ajax request. </td>
            </tr>
            <tr>
                <td class="syntax">.serialize()</td>
                <td> Encode a set of form elements as a string for submission.</td>
            </tr>
            <tr>
                <td class="syntax">.serializeArray</td>
                <td>Encode a set of form elements as an array of names and values.</td>
            </tr>
            <tr>
                <td class="syntax">.val</td>
                <td>应用在form elements such as input, select and textarea.  Get the current value of the first element in the set of matched elements or set the value of every matched element.</td>
            </tr>
            <tr>
                <td class="syntax"></td>
                <td></td>
            </tr>
            <tr>
                <td class="syntax"></td>
                <td></td>
            </tr>
            <tr>
                <td class="syntax"></td>
                <td></td>
            </tr>
            <tr>
                <td class="syntax"></td>
                <td></td>
            </tr>
            <tr>
                <td class="syntax"></td>
                <td></td>
            </tr>
            <tr>
                <td class="syntax"></td>
                <td></td>
            </tr>
            <tr>
                <td class="syntax"></td>
                <td></td>
            </tr>
            <tr>
                <td class="syntax"></td>
                <td></td>
            </tr>
            <tr>
                <td class="syntax"></td>
                <td></td>
            </tr>
            <tr>
                <td class="syntax"></td>
                <td></td>
            </tr>
            <tr>
                <td class="syntax"></td>
                <td></td>
            </tr>
        </table>
        <p></p>
    <hr/>
    请打开console观察输出.
    
    </body>
</html>
